//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.live.base.domain.Task;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TaskMapper extends BaseMapper<Task> {
    List<Task> selectTasks(@Param("taskName") String taskName, @Param("catalogId") Long catalogId);

    List<Task> selectTaskCount(@Param("classId") Long classId, @Param("studentCount") Integer studentCount, @Param("taskName") String taskName, @Param("catalogId") Long catalogId);

    List<Task> selectUserTask(@Param("classId") Long classId, @Param("taskId") Long taskId);

    List<Task> selectScores(@Param("classId") Long classId, @Param("taskName") String taskName);
}
